<!DOCTYPE html>
<html lang="zh-cn">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Content-Language" content="zh-CN">
	<meta name="author" content="管雷鸣">
	<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
</head>
<body>

<!-- 加入js库 -->
<script src="./notification.js"></script>

<!-- 几种 demo -->
<button onclick="notification.audio.play();">播放提醒音</button>
<button onclick="notification.execute('我是title','我是通知的内容说明');">系统通知</button>
<button onclick="notification.audio.setPlayText('您有新的消息'); notification.audio.play();">播放自定义文字消息</button>

<div style="position: absolute; bottom:20px; text-align:center; width:100%">开源仓库及文档地址： <a href="https://gitee.com/mail_osc/notification.js">https://gitee.com/mail_osc/notification.js</a></div>
</body>
</html>